<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{$title} - 我网「wooo.wang」</title>
    <meta name="Keywords" content="{$title},我网,文档,社区,知识,经验"/>
    <meta name="Description" content="{$description}我网主要为多人协作书写文档（知识、经验和见解）提供平台，帮助他人更有效率的获取知识、学习和成长！我网[wooo.wang],分享与收获知识、经验、见解的团体协作书写平台！"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge，chrome=1">
    <link href="__STATIC__/common/img/favicon.ico" type="image/x-icon" rel="shortcut icon">
    <link rel="stylesheet" href="__STATIC__/common/css/base.css?v=__VERSION__">
    <block name="css"></block>
    <link rel="stylesheet" href="__STATIC__/doc/css/main.css?v=__VERSION__">
    <include file="./static/common/tpl/baidu_js.html" />
</head>
<body class="base">
<header>
    <div class="section clearfix">
        <div class="logo">
            <a href="//bbs.wooo.wang" class="logo-title">@ BBS</a><span class="diviter"></span><a href="//doc.wooo.wang">Docs</a>
        </div>
        <div class="right clearfix">
            <form action="" class="search-form left hide">
                <div class="search">
                    <span class="icon-search"></span>
                    <input type="text" placeholder="搜索">
                </div>
            </form>
            <ul class="nav right">
                <if condition="UID">
                    <li class="user">
                        <a href="//wooo.wang/u/{:UID}" id="user"><img src="{$user.avatar}" alt="头像">{$user.nick}</a>
                    </li>
                <else />
                    <li>
                        <a href="//wooo.wang/qqlogin"><span class="icon-qq"></span>&nbsp;&nbsp;登 录</a>
                    </li>
                </if>
            </ul>
        </div>
    </div>
</header>
<section class="section main">
    <div class="book-type">
        <div class="shower">
            欢迎来到我网，在这里你可以查看并加入感兴趣的社区！
        </div>
    </div>
    <div class="head-nav">{$cate}</div>
    <div class="book-infoes">
        <ul class="clearfix lists">
            <if condition="$list">
                <volist name="list" id="vo">
                    <li><div class="info">
                        <div class="info-inner">
                            <h2><a href="//bbs.wooo.wang/{$vo['id']}" title="{$vo.name}">{$vo.name}</a></h2>
                            <p class="info-icon">
                                <span title="贡献度"><i class="icon-coin"></i> {$vo.gx} </span><span title="创建时间"><i class="icon-time"></i> {$vo.create|date="Y-m-d",###} </span>
                            </p>
                            <p class="info-desc">{$vo.desc}</p>
                        </div>
                        <div class="info-footer">
                            <a href="//bbs.wooo.wang/{$vo['id']}" class="info-org">{$vo.name}</a>
                        </div>
                    </div></li>
                </volist>
                <else />
                <p class="no-msg">该分类下暂无社区...</p>
            </if>
        </ul>
    </div>
    {$page}
</section>
<footer>
    <ul class="section footer clearfix">
        <li><a href="//wooo.wang">主页</a></li>
        <li><a href="//wooo.wang/suggest">建议</a></li>
        <li><a href="//wooo.wang/links">友链</a></li>
        <li><a href="//wooo.wang/connect">联系</a></li>
        <li><a href="//wooo.wang/about">关于</a></li>
        <li><a href="//wooo.wang/donate" class="red">捐赠</a></li>
        <li><a href="//wooo.wang">wooo.wang @2015-2016.</a></li>
    </ul>
</footer>
<div id="clearpop">
    <p id="clearpopTxt"></p>
</div>
<a href="//wooo.wang/suggest" target="_blank" id="bugBtn"><span class="icon-left" onclick="$(this).parent().toggleClass('bugMark');return false;"></span> 提交BUG</a>
<script src="__STATIC__/common/js/zepto.min.js?v=__VERSION__"></script>
<script src="__STATIC__/doc/js/base.js?v=__VERSION__"></script>
<script>
    $(document).ready(function(){
        var mark = {$mark|default=0};
        if(mark != 0){
            $('.head-nav-row a[cid="'+mark+'"]').addClass('cur');
        }
    });
</script>
</body>
</html>